<?php
	$_title='个人主页|我的账号';
	include_once 'head.php';
	//左侧导航
	$my_label='account';
	$smarty->assign('my_label',$my_label);		
	$userc=new user();

	//读取作者个人信息
	if($user_id!='' && $user_id!=null){
		$key='i.*';
		$user=$userc->userInfo($user_id,$key);
		$smarty->assign('user',$user);
	}else{
		header('Location:login.php');
	}	

	$smarty->assign('user',$user);

	//html模板区分
	$html='my_account_third.html';
	$smarty->display($html);		
?>